package com.yyx.app1.MedicationAssistant_function.Controls.MedicationAssistant_Activity_Control.TreeListView;

import android.content.Context;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.yyx.app1.MedicationAssistant_function.Controls.MedicationAssistant_Activity_Control.Three_ListView.ItemDataType;
import com.yyx.app1.R;

import org.androidannotations.annotations.EViewGroup;
import org.androidannotations.annotations.ViewById;

/**
 * Created by yuexing on 2015/9/1.
 */
@EViewGroup(R.layout.itemview_listview_medicationassistant_second_menu)
public class Second_ItemView extends RelativeLayout {
    public Second_ItemView(Context context) {
        super(context);
    }

    @ViewById
    TextView second_listview_text;

    public void bind(ItemDataType itemDataType)
    {
        second_listview_text.setText(itemDataType.itemName);
    }
}
